package com.jianhua.appmarket.module.dao.system;

import com.jianhua.appmarket.common.base.BaseDao;
import com.jianhua.appmarket.module.entity.system.User;
import com.jianhua.appmarket.module.model.system.UserParam;
import com.jianhua.appmarket.module.model.system.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao extends BaseDao<User> {


    User getByParam(User user);

    UserVO getDetailById(Long id);

    List<UserVO> listByParam(UserParam param);

    int countByParam(UserParam param);
}
